package com.loto.insurance.mis.web.db.mapper;

import java.util.List;
import java.util.Map;

import com.loto.insurance.mis.web.entity.UserInfo;

public interface UserInfoMapper {

  UserInfo findActiveByName(String userName);

  long insertUser(UserInfo userInfo);
  
  int updateUser(UserInfo userInfo);
  
  UserInfo findUserById(long userId);
  
  UserInfo findUserByName(String userName);
  
  long findAllUserPagerCount(Map<String, Object> params);
  
  List<UserInfo> findAllUserPager(Map<String, Object> params);
}
